package com.kaili.pojo.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author xjh
 * @ClassName StowageQueryVO
 * @Description 配载单信息查询实体类
 * @Date 下午3:53 18-5-24
 * @Version 1.0
 */
@Data
public class StowageQueryVO{

    @ApiModelProperty("配载单id")
    @JSONField(serializeUsing = ToStringSerializer.class)
    private String operationId;

    @Excel(name = "配载单号", orderNum = "1")
    @ApiModelProperty("配载单号")
    private String stowageNo;

    @Excel(name = "发货网点", orderNum = "2")
    @ApiModelProperty("发货网点")
    private String sendSiteName;

    @Excel(name = "目的网点", orderNum = "3")
    @ApiModelProperty("目的网点")
    private  String destinationSiteName;

    @ApiModelProperty("车辆id")
    private  Integer carId;

    @Excel(name = "车辆号", orderNum = "4")
    @ApiModelProperty("车辆号")
    private  String    carNo;

    @ApiModelProperty("驾驶员id")
    private  Integer  driverId;

    @Excel(name = "驾驶员", orderNum = "5")
    @ApiModelProperty("驾驶员姓名")
    private  String  driverName;

    @Excel(name = "重量(KG)", orderNum = "6")
    @ApiModelProperty("重量")
    private BigDecimal  outWeight;

    @Excel(name = "体积(m3)", orderNum = "7")
    @ApiModelProperty("体积")
    private BigDecimal  outVol;

    @ApiModelProperty("件数")
    private Integer  outPiece;

    @Excel(name = "承运费", orderNum = "8")
    @ApiModelProperty("承运费")
    private BigDecimal carryFreightCharge;

    @ApiModelProperty("配载时间")
    private Date createdTime;

    @Excel(name = "发车时间", orderNum = "9", format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("发车时间")
    private Date carSendTime;

    @Excel(name = "操作员", orderNum = "10")
    @ApiModelProperty("操作员")
    private  String   operatorName;

    @Excel(name = "目的网点ID", orderNum = "11")
    @ApiModelProperty("目的网点ID")
    private Long destinationSiteId;

    @Excel(name = "电话号码", orderNum = "12")
    @ApiModelProperty("电话号码")
    private String phone;

    @Excel(name = "途径网点ID", orderNum = "13")
    @ApiModelProperty("途径网点ID")
    private Long nextSiteId;

    @Excel(name = "支付方式", orderNum = "14")
    @ApiModelProperty("支付方式")
    private Long payModeId;


    @Excel(name = "备注", orderNum = "15")
    @ApiModelProperty("备注")
    private String remark;

    private List<EwbQueryVO> ewbQueryVOS;
}
